package com.sample.dubbo.demo.api;

import com.sample.dubbo.demo.dto.Customer;
import com.sample.dubbo.demo.dto.QuerySchema;

import java.util.List;

public interface CustomerService {
    Customer save(Customer customer);

    List<Customer> query(QuerySchema querySchema);

    Customer find(Long id);

    boolean delete(Long id);
}